﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace OznerOA.Model
{
    public class Log
    {
        /// <summary>
        /// 哪个类产生的
        /// </summary>
        public string ClassName { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime DateTime { get; set; }
        /// <summary>
        /// 日志类型
        /// </summary>
        public LogType LogType { get; set; }
        /// <summary>
        /// 窗体文本
        /// </summary>
        public string FormText { get; set; }
        /// <summary>
        /// 信息
        /// </summary>
        public string Message { get; set; }
    }
    public enum LogType
    {
        ERROR = 1, DEBUG = 2, WARN = 4, INFO = 8
    }
}
